package com.army.stock.dao;
import com.army.stock.domain.ArmyGood;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 14/12/25.
 */
public interface ArmyGoodDao {

    public List<ArmyGood> getArmyGoods(Map<String, Object> params);

    public Integer getCountArmyGoods(Map<String, Object> params);

    public Integer insertArmyGood(ArmyGood armyGood);

    public ArmyGood getArmyGoodById(Long id);

    public ArmyGood getArmyGoodByGoodCode(String goodCode);

    public void updateArmyGood(ArmyGood armyGood);

    public Integer delArmyGood(Long id );

    public Integer getMaxGoodId();

}
